package com.yayo.mangement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yayo.mangement.model.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {


    public Boolean update(SysUser sysUser);

    public SysUser findById(Long id);

    public SysUser findByUsername(String username);

    public List<SysUser> findAll();

    public IPage<SysUser> paging(Page<SysUser> page, SysUser sysUser);

    public void delete(List<Long> ids);
}
